#ifndef HEIGHTMAP_H
#define HEIGHTMAP_H

#include "Troll3D/Entity.h"

/*! @brief The heightmap class will be used to display well, heightmaps */
class Heightmap
{
    public:
    Heightmap();

    std::vector<Vertex *> m_Vertices;
    std::vector<Face *> m_Faces;
    std::vector<bool> m_Checked;

    int     m_GridSize;

    void GenerateLandscape(int gridSize);

    void DiamondStep(int x, int y, int length);
    void SquareStep(int x, int y, int length);

};

#endif // HEIGHTMAP_H
